libvchan: address compiler warnings
authorJan Beulich <JBeulich@suse.com>
Wed, 4 Feb 2015 16:07:48 +0000 (16:07 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 5 Feb 2015 12:21:48 +0000 (12:21 +0000)
commitb541d3fe1d438e152c755b2fba6e5905e27041ca
tree86d8e88e3f547cbf83d306366e59166a794b652d
parentd12f430d1ddb4f18f047c73ad96141b75af6983f
libvchan: address compiler warnings

Both vchan_wr() and stdout_wr() should be defined with a non-empty
argument list (i.e. void). Additionally both of them as well as usage()
should be static to make clear that no other code is referencing them.

Further, statements should follow declarations.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libvchan/node-select.c